﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Principal;

namespace WinformAuthentication
{
    public class WinformIdentity:IIdentity
    {
        public WinformIdentity()
        {

        }
        public string AuthenticationType
        {
            get;
            set;
        }

        public bool IsAuthenticated
        {
            get;
            set;
        }

        public string Name
        {
            get;
            set;
        }
        

        public string ID
        {
            get;
            set;
        }

        public string PassWord
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

        #region data field

        //private string name=string.Empty;
        //private bool isAuthenticated=false;

        //private string authenticationType=string.Empty;

        #endregion
    }
}
